package cn.kgc.chlm.service.impl;

import cn.kgc.chlm.dao.MenuDao;
import cn.kgc.chlm.dao.impl.MenuDaoImpl;
import cn.kgc.chlm.entity.Menu;
import cn.kgc.chlm.service.MenuService;

import java.util.List;

public class MenuServiceImpl implements MenuService {

    private MenuDao menuDao = new MenuDaoImpl();

    @Override
    public List<Menu> selectMenuALl() {

        return menuDao.selectMenuALl();
    }

    @Override
    public Menu selectMenuById(Integer id) {
        return menuDao.selectMenuById(id);
    }
}
